package com.design.blog.service.impl;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.design.blog.dao.TagMapper;
import com.design.blog.model.Tag;
import com.design.blog.model.vo.TagVO;
import com.design.blog.service.ITagService;
import org.springframework.stereotype.Service;

/**
 * @version 1.0
 * @author hxg
 * @date 2022-02-28
 *  服务实现类
 */
@Service
public class TagServiceImpl extends ServiceImpl<TagMapper, Tag> implements ITagService {

	@Override
	public IPage<Tag> selectTagPage(IPage<Tag> page, TagVO tag) {
		return page.setRecords(baseMapper.selectTagPage(page, tag));
	}

}
